import { Request, Response, NextFunction } from "express";

export default (request: Request, response: Response, next: NextFunction) => {
	try {
		response.json(request.query);
	} catch (error) {
		next(error);
	}
};
